package cn.tedu.luban.demand.main.repository;

import cn.tedu.luban.demand.protocol.bo.RequestOrderBO;
import cn.tedu.luban.demand.protocol.param.GrabOrderParam;
import cn.tedu.luban.demand.protocol.query.RequestOrderQuery;
import java.util.List;

public interface DemandRepository {
    Integer grabOrder(String requestOrderNo);

    Long getRequestOrderCount(RequestOrderQuery requestOrderQuery);
    List<RequestOrderBO> queryRequestOrders(RequestOrderQuery requestOrderQuery);
    Integer grabOrder(GrabOrderParam grabOrderParam);
    RequestOrderBO getRequestOrder(String requestOrderNo);
    Integer returnOrder(GrabOrderParam requestOrderNo);

    RequestOrderBO getRequestOrderGrabed(String no);
}
